package com.andnnl.replace;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

/**
 * Created by chenss on 2021/9/18.
 */
public class TestTTT {
    private static <T> boolean containsArray(Collection<T> list, T[] item) {
        return false;
    }

    private static <T> boolean containsArray2(Collection<T[]> list, T[] item) {
        return false;
    }

    public static void main(String[] args) {
        Integer[] item={1,2};
        List<Integer> list=new ArrayList<>();
        boolean a=containsArray(list,item);

        List<Integer[]> list2=new ArrayList<>();
        boolean b=containsArray2(list2,item);
    }
}
